#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:output_inverted.py
# author:wmf
# datetime:2021/3/7 19:07
# software: PyCharm
'''
this is function description
'''
# import module your need

#字符串的切片方法的反向输出
str = "abcdef"
print(str[-1::-1])

#列表的反向输出
list = ['a','b','c','d','e','f']
list.reverse()
print(list)